package com.mask.im.business.model.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 好友申请表DTO
 * @author jian
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class IMFriendApplicationDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 被申请人ID
     */
    private Long targetUserId;

    /**
     * 申请语
     */
    private String applyMessage;

    /**
     * 申请状态：0=待处理，1=已通过，2=已拒绝，3=已过期
     */
    private Integer applyStatus;

    /**
     * 申请过期时间
     */
    private LocalDateTime expireTime;

    /**
     * 申请时间
     */
    private LocalDateTime applyTime;

    /**
     * 处理时间
     */
    private LocalDateTime handleTime;
}
